package org.example.demo_xiaowuz.service;

import org.example.demo_xiaowuz.mapper.UserMapper;
import org.example.demo_xiaowuz.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    UserMapper userMapper;

    public UserInfo getByUserName(String userName) {
        return userMapper.getByUserName(userName);
    }
}
